Release 10.1A: OpenEdge Data Management:
SQL Development
Using the INSERT statement
Use the
INSERTstatement to add new roles to a table.The
INSERTstatement uses the following syntax:Syntax
Example 6–5 depicts a single row being added to a table.
INSERTstatements can also be executed based upon the results of a query expression. In Example 6–6, rows are created in a table of New York customers based on a query of theCustomertable.
Notes: If the optional column list is used, then only the values for those columns in the statement are required. Otherwise, values must be specified or returned by a query expression.
UsingVALUESto specify columns will insert one row into the table. Use the query expression to insert multiple rows.For more information on the
INSERTstatement, see OpenEdge Data Management: SQL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |